package com.xy.repository;

import com.xy.entity.SysDict;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Thinkpad on 2018/1/12.
 */
public interface SysDictRepository extends JpaRepository<SysDict, String> {
    SysDict findByCode(String orderCannelReason);


    List<SysDict> findAllByParentId(String uuid);
}
